package cn.wolfcode.service;

import cn.wolfcode.domain.Employee;
import cn.wolfcode.qo.PageResult;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface IEmployeeService {

    void delete(Long id);

    void save(Employee employee, Long[] ids);

    Employee get(Long id);

    List<Employee> listALL();

    void update(Employee employee, Long[] ids);


    PageResult<Employee> query(QueryObject qo);


    Employee login(String username, String password);


    void updateAll(String oldPassword, String newPassword);


    void insert1(Employee employee);
}
